package com.audaque.springboot.foshanupload.minio.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.*;
import lombok.NoArgsConstructor;


import java.io.Serializable;

/**
 * @author zgb
 * @desc ...
 * @date 2022-03-28 01:49:35
 */
@Schema(description = "文件上传响应")
@Data

@NoArgsConstructor
@AllArgsConstructor

public class MinioFileInfoDto implements Serializable {
    private static final long serialVersionUID = -1242493306307174690L;
    @Schema(description = "ip:port")
    private String endpoint;
    @Schema(description = "文件url")
    private String fileUrl;
    @Schema(description = "桶名")
    private String bucketName;
    @Schema(description = "对象名")
    private String objectName;
    @Schema(description = "对象字节数组")
    private byte[] contentBytes;
}
